<template>
	<view>
		<children :msg="messgae" @parent="parentFun"></children>
		
	</view>
</template>

<script>
	import children from "../component/children/children.vue"
	export default {
		props:[],
		components:{children},
		data() {
			return {
				messgae:'父组件的数据'
			}
		},
		methods: {
			parentFun(data){
				console.log(data);
			}
		}
	}
</script>

<style>

</style>
